Fraction Class

Represents the display formatting properties for a number style that should be displayed as a fraction.

Definition

Namespace: Independentsoft.Office.Odf.Styles
Assembly: Independentsoft.Office (in Independentsoft.Office.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#
public class Fraction : Number
Inheritance
Object    Number    Fraction

Constructors

Fraction Initializes a new instance of the Fraction class.

Properties

DenominatorValue Specifies an integer value that is used as denominator of a fraction. If this attribute is not present, a denominator that is appropriate for displaying the number is used.
Grouping Specifies whether the integer digits of a number should be grouped using a separator character.
MinDenominatorDigits Specifies the minimum number of digits to use to display the denominator of a fraction.
MinIntegerDigits Specifies the minimum number of integer digits to display in a number, a scientific number, or a fraction.
MinNumeratorDigits Specifies the minimum number of digits to use to display the numerator in a fraction.

Methods

Clone Creates a new object that is a deep copy of the current instance.
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString Converts the value of the current Fraction object to its equivalent string representation.
(Overrides ObjectToString)

See Also